﻿using System;
using System.Net;
using System.Net.Sockets;

namespace Server
{
    class RemoteGameData: GameData
    {
        private TcpClient localClient;

        public RemoteGameData(TcpClient client, CSEngine.AI myAI)
            : base(GameType.REMOTE, client.GetStream(), myAI)
        {
            localClient = client;
        }

        public RemoteGameData(TcpClient client)
            :base(GameType.REMOTE,client.GetStream())
        {
            localClient = client;
        }

        public TcpClient LocalClient
        {
            get { return localClient; }
        }
    }
}
